package ferp.android.views.table.element.trick;

import android.content.Context;
import ferp.android.views.table.TableView;
import ferp.android.views.table.element.Element;
import ferp.core.card.Card;

/**
 * User: olegs
 * Date: 07/01/2015 23:29
 */
public class TrickElement extends Element<TrickView>
{
  public TrickElement(Context context, TableView parent) {super(context, parent);}

  public void show(int id, Card card)
  {
    show(true);
    view.show(id, card);
  }

  @Override
  protected final TrickView create(Context context, TableView parent) {return new TrickView(context, parent);}

  @Override
  protected final void onHide() {view.hide();}
}
